﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MyFramework
{
    public partial class GameObjectSimplify
    {
        /// <summary>
        /// 显示游戏物体
        /// </summary>
        /// <param name="gameObj"></param>
        public static void Show(GameObject gameObj)
        {
            gameObj.SetActive(true);
        }
        /// <summary>
        /// 隐藏游戏物体
        /// </summary>
        /// <param name="gameObj"></param>
        public static void Hide(GameObject gameObj)
        {
            gameObj.SetActive(false);
        }

    }
}